<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <global-header />
      </a-layout-header>
      <a-layout-content class="content">
        <router-view></router-view>
      </a-layout-content>
      <a-layout-footer class="footer">在线判题系统</a-layout-footer>
    </a-layout>
  </div>
</template>

<style scoped>
#basicLayout {
}

#basicLayout .header {
  box-shadow: #eee 1px 3px 5px;
  color: #444444;
}

#basicLayout .content {
  margin-top: 2px;
  //background: linear-gradient(to right, #bbb, #afff);
  background: rgb(255, 255, 255);
}

#basicLayout .footer {
  position: sticky;
  background: #efefef;
  padding: 8px;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 1.5vh;
}
</style>
<script lang="ts" setup>
import GlobalHeader from "@/components/GlobalHeader.vue";
</script>
